﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/Setting.Master" AutoEventWireup="true" CodeBehind="BlogList.aspx.cs" Inherits="WebSite.Blogs.BlogList" %>
<%@ Register Assembly="BaseSet.Entity" Namespace="BaseSet.Entity.Common.Controls"
    TagPrefix="cc1" %>

    <asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
    <title>友赢网 - 个人中心 - 我的创作列表</title>
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div class="w-780">
<div class="l w-690">
<h2>我的创作列表</h2>

 <div class="sc_dp">
                 <asp:TextBox ID="txtTitle" runat="server" class="fl sc_dp_input"></asp:TextBox>
                <asp:Button ID="btnSearch" runat="server" class="fl sc_dp_botton" 
                     onclick="btnSearch_Click" />
              <div class="clear"></div>
            </div>

    <div id="main">
    <div id="post_list">    
        <asp:Label ID="lblMessage" runat="server" Text=""></asp:Label>
        <asp:Repeater ID="rptBlog" runat="server" onitemcommand="rptBlog_ItemCommand">
        <ItemTemplate>
        <div class="post_item">
            <div class="digg">
                <div class="diggit"> 
	            <a href="RecommandUser.aspx?id=<%#Eval("id")%>" title="查看推荐该创作的用户"><span class="diggnum"><%#Eval("RecommandCount")%></span></a>
                    <asp:HiddenField ID="hidID" runat="server" Value='<%#Eval("id")%>'/>
	            </div>
	            <div class="clear"></div>	
	            <%--<div id="digg_tip_2322355" class="digg_tip"></div>--%>
	        </div>      
            <div class="post_item_body">
	            <h3><a class="titlelnk" href="../b/<%#Eval("id")%>.aspx" target="_blank"><%#Eval("Title")%></a> <font color="red" style="font-size:small">[<%#Eval("BlogBigType")%>-<%#Eval("BlogTypeName")%>] </font><%#Eval("strHasPic")%> </h3>      
                <div class="post_item_foot" align="right">                    
                   <font color="green"><%#Eval("strFlag")%></font>&nbsp;&nbsp; 发布于 <%# DataBinder.Eval(Container.DataItem, "CreateDate", "{0:yyyy-MM-dd HH:mm}")%>
                <a  href="../b/<%#Eval("id")%>.aspx#commenta" target="_blank"><span class="article_comment">评论(<span id="feedback_count_2322355"><%#Eval("ReplyCount")%></span>)</span> </a>
                    <a  href="../b/<%#Eval("id")%>.aspx" target="_blank"><span class="article_view">阅读(<span id="viewcount_2322355"><%#Eval("PVCount")%></span>)</span></a>
                    <a href="BlogEdit.aspx?id=<%#Eval("id")%>">编辑</a>&nbsp;&nbsp;
                    <asp:LinkButton ID="lbDelete" runat="server" CommandName="delete" OnClientClick="return confirm('确定要删除吗？')">删除</asp:LinkButton>
                    </div>
            </div>
            <div class="clear"></div>
            </div>
        </ItemTemplate>
        </asp:Repeater>
            
            

</div>
<div align="center">
<cc1:URLPager ID="BlogUPager" runat="server" UseSpacer="False" UseFirstLast="true"
        PageSize="10" FirstText="<< 首页" LastText="尾页 >>" LinkFormatActive='<span class=Current>{1}</span>'
        CssClass="Pager" />
        </div>
    </div>
	</div>	
    </div>
</asp:Content>
